<template>
  <!-- 虫情监测 -->
  <div class="Project-box InsectMonitoring-box">
    <div class="InsectMonitTitel1 publicTiTle">虫情监测</div>
    <div class="InsectMonitTitel2 publicETiTle">虫情详情分析</div>
    <div class="InsectMonitTitel3 publicETiTle">虫情种类管理</div>
    <div class="InsectMonitTitel4 publicTiTle">孢子监测</div>
    <div class="InsectMBox1">
      <Xialakuang :xialaList="xialaList" @belowEmits="belowEmits" />
    </div>
    <div class="InsectMBox2">
      <div class="InsectMBox2L">
        <div class="imgBox">
          <el-image
            style="width: 98%; height: 98%; margin-left: 1%; margin-top: 1%"
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            :fit="fit"
          />
        </div>
      </div>
      <div class="InsectMBox2R">
        <div class="neirongBox">
          <div class="neirongBoxL">
            <div class="T1">
              种&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类:
            </div>
            <div class="T2">
              数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;量:
            </div>
            <div class="T3">
              分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;布:
            </div>
            <div class="T4">生命周期:</div>
            <div class="T5">危害程度:</div>
          </div>
          <div class="neirongBoxR">
            <div class="T1">玉米螟</div>
            <div class="T2">15头/亩</div>
            <div class="T3">田块东侧密度较高</div>
            <div class="T4">主要为幼虫期，少量成虫</div>
            <div class="T5">受害植株率30%</div>
          </div>
        </div>
      </div>
    </div>
    <div class="InsectMBox3">
      <div class="InsectMBox3N">害虫名称:</div>
      <div class="InsectMBox3In">
        <div class="input-box">
          <el-input v-model="inputValuye" style="height: 100%"></el-input>
        </div>
        <div class="sousuo"></div>
      </div>
    </div>
    <div class="InsectMBox4">
      <div class="box4T1">害虫名称</div>
      <div class="box4T1">害虫图片</div>
      <div class="box4T1">害虫说明</div>
      <div class="box4T1">防治建议</div>
    </div>
    <div class="InsectMBox5">
      <div class="InsectMBox5I" v-for="item in 10">
        <div class="box4T1">害虫名称</div>
        <div class="box4T1">
          <div class="box4T1Img">
            <el-image
              style="width: 100%; height: 95%; margin-top: 1%"
              src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
              :fit="fit"
            />
          </div>
        </div>
        <div class="box4T1">害虫说明</div>
        <div class="box4T1">防治建议</div>
      </div>
    </div>
    <div class="InsectMBox6 publicTime">采样时间: 2025-02-17</div>
    <div class="InsectMBox7">
      <div class="flvItem">
        <Flv :flvUrl="'https://media.w3.org/2010/05/sintel/trailer.mp4'" />
      </div>
      <div class="flvItem">
        <Flv :flvUrl="'https://media.w3.org/2010/05/sintel/trailer.mp4'" />
      </div>
      <div class="flvItem">
        <Flv :flvUrl="'https://media.w3.org/2010/05/sintel/trailer.mp4'" />
      </div>
      <div class="flvItem">
        <Flv :flvUrl="'https://media.w3.org/2010/05/sintel/trailer.mp4'" />
      </div>
    </div>
  </div>
</template>
<script setup>
import Xialakuang from "@/components/xialakuang.vue"
import Flv from "@/components/Flv.vue"

const inputValuye = ref("")
const xialaList = ref([
  {
    name: "全部",
    id: 1
  },
  {
    name: "一年级",
    id: 2
  },
  {
    name: "二年级",
    id: 3
  },
  {
    name: "三年级",
    id: 4
  },
  {
    name: "四年级",
    id: 5
  },
  {
    name: "五年级",
    id: 6
  }
])

const belowEmits = (e) => {
  console.log(e)
}
</script>
<style scoped lang="less">
.InsectMonitoring-box {
  background: url("@/assets/FourMonitoring/XXC_SQJC_2@2x.png") no-repeat center;
  background-size: 100% 100%;
  background-color: rgba(15, 75, 63);
  position: relative;
  .InsectMonitTitel1 {
    position: absolute;
    left: 30px;
    top: 2px;
  }
  .InsectMonitTitel2 {
    position: absolute;
    left: 10px;
    top: 52px;
  }
  .InsectMonitTitel3 {
    position: absolute;
    left: 10px;
    top: 257px;
  }
  .InsectMonitTitel4 {
    position: absolute;
    left: 30px;
    top: 682px;
  }
  .InsectMBox1 {
    width: 114px;
    height: 32px;
    position: absolute;
    top: 45px;
    right: 15px;
  }
  .InsectMBox2 {
    width: 100%;
    height: 170px;
    position: absolute;
    top: 85px;
    display: flex;
    .InsectMBox2L {
      width: 50%;
      height: 100%;
      .imgBox {
        margin: auto;
        margin-top: 10px;
        width: 174px;
        height: 152px;
        background: url("@/assets/FourMonitoring/BJ_TUPIAN@2x.png") no-repeat
          center;
        background-size: 100% 100%;
      }
    }
    .InsectMBox2R {
      width: 50%;
      height: 100%;
      .neirongBox {
        margin: auto;
        margin-top: 10px;
        width: 174px;
        height: 152px;
        display: flex;
        .neirongBoxL {
          width: 40%;
          height: 100%;
          font-size: 14px;
          color: #c0e5da;
          .T1 {
            height: 16%;
            line-height: 20px;
          }
          .T2 {
            height: 16%;
            line-height: 20px;
          }
          .T3 {
            height: 16%;
            line-height: 20px;
          }
          .T4 {
            height: 36%;
            line-height: 20px;
          }
          .T5 {
            height: 16%;
            line-height: 20px;
          }
        }
        .neirongBoxR {
          width: 60%;
          height: 100%;
          font-size: 14px;
          color: #f1fffb;
          // background-color: pink;
          .T1 {
            height: 16%;
            overflow-y: scroll;
            line-height: 21px;
          }
          .T2 {
            height: 16%;
            overflow-y: scroll;
            line-height: 21px;
          }
          .T3 {
            height: 16%;
            overflow-y: scroll;
            line-height: 21px;
          }
          .T4 {
            height: 36%;
            overflow-y: scroll;
            line-height: 19px;
          }
          .T5 {
            height: 16%;
            overflow-y: scroll;
            line-height: 21px;
          }
        }
      }
    }
  }
  .InsectMBox3 {
    width: 100%;
    height: 32px;
    position: absolute;
    top: 290px;
    // background-color: red;
    display: flex;
    .InsectMBox3N {
      font-size: 16px;
      color: #fff;
      margin-left: 10px;
      line-height: 32px;
    }
    .InsectMBox3In {
      margin-left: 12px;
      width: 294px;
      height: 32px;
      background: url("@/assets/FourMonitoring/BJ_SOUSUOKUANG@2x.png") no-repeat
        center;
      background-size: 100% 100%;
      display: flex;
      .input-box {
        margin-left: 10px;
        width: 80%;
        height: 100%;
      }
      /deep/.el-input__wrapper {
        color: #fff !important;
        background-color: rgba(51, 90, 119);
        background: url("@/assets/Tanchuang/FANYEQI_1@2x.png") no-repeat center;
        background-size: 100% 100%;
        box-shadow: 0 0 0 0px var(--el-color-primary) inset;
      }
      /deep/.el-input__inner {
        font-size: 14px;
        color: #fff !important;
      }
      /deep/.el-input__inner::placeholder {
        font-size: 14px;
        color: #fff !important;
      }
      .sousuo {
        cursor: pointer;
        width: 16px;
        height: 16px;
        background-color: red;
        margin-top: 8px;
        margin-left: 15px;
        background: url("@/assets/FourMonitoring/ICON_SOUSUO@2x.png") no-repeat
          center;
        background-size: 100% 100%;
      }
    }
  }
  .InsectMBox4 {
    margin-left: 10px;
    width: 380px;
    height: 32px;
    position: absolute;
    top: 330px;
    display: flex;
    color: #c9ffee;
    .box4T1 {
      text-align: center;
      width: 25%;
      font-size: 14px;
      line-height: 32px;
    }
  }
  .InsectMBox5 {
    margin-left: 10px;
    width: 380px;
    height: 280px;
    position: absolute;
    top: 365px;
    overflow-y: scroll;
    .InsectMBox5I {
      margin-bottom: 3.1px;
      width: 380px;
      height: 32px;
      background: url("@/assets/FourMonitoring/BJ_LB@2x.png") no-repeat center;
      background-size: 100% 100%;
      display: flex;
      color: #fff;
      .box4T1 {
        text-align: center;
        width: 25%;
        font-size: 14px;
        line-height: 32px;
        .box4T1Img {
          display: inline-block;
          text-align: center;
          width: 40px;
          height: 32px;
        }
      }
    }
  }
  .InsectMBox6 {
    margin-left: 10px;
    width: 380px;
    height: 20px;
    position: absolute;
    top: 725px;
  }
  .InsectMBox7 {
    margin-left: 10px;
    width: 380px;
    height: 200px;
    position: absolute;
    top: 750px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    .flvItem {
      width: 186px;
      height: 94px;
      border-radius: 4px;
      // background-color: pink;
    }
  }
}
</style>
